package com.info.zhiduoduo.admin.model.formbean.invoice;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class EditContractorInvoiceFormBean {

    @ApiModelProperty("发票数据id")
    private Integer invoiceId;

    @ApiModelProperty("开票状态(1：待开票，2：开票中，3：已开票，4：已作废)")
    private Integer state;

    /**
     * 申请开票
     */
    @ApiModelProperty("申请开票时选择的甲方企业id")
    private int partyId;

    @ApiModelProperty("开票地id")
    private int invoiceCityId;

    @ApiModelProperty("备注")
    private String remarks;

    /**
     * 作废
     */
    @ApiModelProperty("作废理由")
    private String invalidationReasons;

    /**
     * 填写发票编号/上传图片
     */
    @ApiModelProperty("发票编号")
    private String invoiceNumber;

    @ApiModelProperty("发票图片")
    private String invoicePicture;

    @ApiModelProperty("开票金额")
    private BigDecimal invoicedAmount;

    @ApiModelProperty("完成时间")
    private Date finishtime;

}
